package io.aircraft.modules.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


/**
 * 出库主单
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-11-16
 */
@Data
@ApiModel(value = "出库主单")
public class OrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long orderId;

	@ApiModelProperty(value = "单据编号")
	private String orderNo;

	@ApiModelProperty(value = "单据类型")
	private String orderType;

	@ApiModelProperty(value = "所属系统")
	private String orderSystem;

	@ApiModelProperty(value = "商品编号")
	private String spuNo;
	private String lotNo;

	@ApiModelProperty(value = "需求数量")
	private BigDecimal amount;

	@ApiModelProperty(value = "单据状态")
	private Integer orderSt;

	@ApiModelProperty(value = "需求站台")
	private String stationNo;

	@ApiModelProperty(value = "波次编号")
	private String waveNo;

	@ApiModelProperty(value = "创建用户")
	private Long creator;

	@ApiModelProperty(value = "创建日期")
	private Date createDate;

	@ApiModelProperty(value = "更新用户")
	private Long updater;

	@ApiModelProperty(value = "更新日期")
	private Date updateDate;

	@ApiModelProperty(value = "备注")
	private String comments;

	@ApiModelProperty(value = "订单明细")
	private List<OrderDetailDTO> orderDetailList;

	/*创建用户与更新用户的编号(代替id在界面中更友好的显示)*/
	private String creatorName;
	private String updaterName;
}